﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Tzync
{
    public interface ISubject
    {
        void RegisterObject(IObserver obj);
        void UnRegisterObject(IObserver obj);
        void NotifyObserver();
        void SetChanged();
        Difference GetDifference();
        void SetDifference(Difference d);
    }

    public interface IObserver
    {
        void Update(ISubject subject);
    }

    public interface IDisplay
    {
        void Display();
    }
}
